import { post } from '@/utils/axios';
export default {
  // 获取项目清单列表
  getProjectTableInfo(data) {
    return post(`/Windchill/servlet/gwc/platform/pmgt/project/getProjectTableInfo`, data);
  },
  // 保存项目清单列表表头
  saveProjectTableColumns(data) {
    return post(`/Windchill/servlet/gwc/platform/pmgt/project/saveProjectTableColumns`, data);
  },
  // 设置项目清单列表表头
  setProjectTableColumns(data) {
    return post(`/Windchill/servlet/gwc/platform/pmgt/project/setProjectTableColumns`, data);
  },
  // 获取项目相关计划
  findPlans(data) {
    return post(`/Windchill/servlet/gwc/platform/pmgt/project/plan/findPlans`, data);
  },
  // 获取项目团队
  findMembers(data) {
    return post(`/Windchill/servlet/gwc/platform/pmgt/project/member/findMembers`, data);
  },
  // 获取项目团队成员赋权
  membersAccess(data) {
    return post(`/Windchill/servlet/gwc/platform/pmgt/project/member/membersAccess`, data);
  },
  // 获取项目相关交付结果
  findDeliverables(data) {
    return post(`/Windchill/servlet/gwc/platform/pmgt/project/deliverable/findDeliverables`, data);
  },
  // 获取项目问题
  findProblems(data) {
    return post(`/Windchill/servlet/gwc/platform/pmgt/project/problem/findProblems`, data);
  },
  // 获取项目变更请求
  findChangeRequests(data) {
    return post(`/Windchill/servlet/gwc/platform/pmgt/project/change/findChangeRequests`, data);
  },
  // 获取项目风险
  findRisks(data) {
    return post(`/Windchill/servlet/gwc/platform/pmgt/project/risks/findRisks`, data);
  },
  // 获取项目相关评审
  findReviews(data) {
    return post(`/Windchill/servlet/gwc/platform/pmgt/project/reviews/findReviews`, data);
  },

  // 获取项目计划下的活动
  findRefActivities(data) {
    return post(`/Windchill/servlet/gwc/platform/pmgt/plan/findRefActivities`, data);
  },
};
